
using Core.SimpleTemp.Common;
using Core.SimpleTemp.Entitys;
using Core.SimpleTemp.Repositories.Internal;
using System.Threading.Tasks;

namespace Core.SimpleTemp.Repositories
{
    [AutoDi()]//注意这里 自动DI
    public class YH_ScreeningRepository : BaseDBRepository<YH_Screening>
    //统一继承BaseDBRepository并传入`Entity`泛型参数
    {
        public YH_ScreeningRepository(CoreDBContext dbContext) : base(dbContext)
        {
        }


        /// <summary>
        /// 排查上报
        /// </summary>
        /// <param name="entity"></param>
        /// <returns></returns>
        public async Task<bool> ReportAsync(YH_ScreeningDetail entity)
        {
          
            return true;
        }
    }
}
